<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/1/26
 * Time: 13:29
 */

namespace app\api\service;


class Address
{
    static function list_($param)
    {
        $c = new \app\common\model\UserAddress();
        $r_data = $c->order("address_id desc")->where($param)->select();
        return $r_data;
    }

    static function address($param)
    {
        $c = new \app\common\model\UserAddress();
        $r_data = $c->get($param);
        return $r_data;
    }


}